<aside class="left-side sidebar-offcanvas">
            <!-- sidebar: style can be found in sidebar.less -->
            <section class="sidebar">
                <!-- Sidebar user panel -->
                <div class="user-panel">
                    <div class="pull-left image">
                        <img src="{{Session::get('avatar')}}" class="img-circle" alt="User Image" />
                    </div>
                    <div class="pull-left info">
                        <p>你好, {{Session::get('nicename')}}</p>
                        <small>{{Session::get('identity')}}</small>
                        <a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
                    </div>
                </div>
                <!-- sidebar menu: : style can be found in sidebar.less -->
                <ul class="sidebar-menu">
                    <li class="active">
                        <a href="{{URL::route('home')}}">
                            <i class="fa fa-dashboard"></i> 
                            <span>后台首页</span>
                        </a>
                    </li>
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-bar-chart-o"></i>
                            <span>刷单计划</span>
                            <i class="fa fa-angle-left pull-right"></i>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="{{URL::route('plane.index')}}"><i class="fa fa-angle-double-right"></i> 本周期计划</a>
                            </li>
                            @if(Session::get('permission')>=10)
                            <li><a href="{{URL::route('plane.add')}}"><i class="fa fa-angle-double-right"></i> 添加计划</a>
                            </li>
                            @endif
                            <li><a href="{{URL::route('plane.history')}}"><i class="fa fa-angle-double-right"></i> 历史计划</a>
                            </li>
                        </ul>
                    </li>
                    @if(Session::get('permission')>=10)
                    <li class="treeview">
                        <a href="#">
                            <i class="fa fa-bar-chart-o"></i>
                            <span>用户管理</span>
                            <i class="fa fa-angle-left pull-right"></i>
                        </a>
                        <ul class="treeview-menu">
                            <li><a href="{{URL::route('users.index')}}"><i class="fa fa-angle-double-right"></i> 所有用户</a>
                            </li>
                            <li><a href="{{URL::route('users.add')}}"><i class="fa fa-angle-double-right"></i> 添加用户</a>
                            </li>
                            <li><a href="{{URL::route('users.profile')}}"><i class="fa fa-angle-double-right"></i> 个人资料</a>
                            </li>
                        </ul>
                    </li>
                    @else
                    <li>
                        <a href="{{URL::route('users.profile')}}">
                            <i class="fa fa-envelope"></i> 
                            <span>个人资料</span>
                        </a>
                    </li>
                    @endif
                </ul>
            </section>
            <!-- /.sidebar -->
        </aside>